package com.ruoyi.receipt.mapper;

import java.util.List;
import com.ruoyi.receipt.domain.ErpMaterialReceipt;

/**
 * 生产入库Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-22
 */
public interface ErpMaterialReceiptMapper 
{
    /**
     * 查询生产入库
     * 
     * @param receiptId 生产入库主键
     * @return 生产入库
     */
    public ErpMaterialReceipt selectErpMaterialReceiptByReceiptId(Long receiptId);

    /**
     * 查询生产入库列表
     * 
     * @param erpMaterialReceipt 生产入库
     * @return 生产入库集合
     */
    public List<ErpMaterialReceipt> selectErpMaterialReceiptList(ErpMaterialReceipt erpMaterialReceipt);

    /**
     * 新增生产入库
     * 
     * @param erpMaterialReceipt 生产入库
     * @return 结果
     */
    public int insertErpMaterialReceipt(ErpMaterialReceipt erpMaterialReceipt);

    /**
     * 修改生产入库
     * 
     * @param erpMaterialReceipt 生产入库
     * @return 结果
     */
    public int updateErpMaterialReceipt(ErpMaterialReceipt erpMaterialReceipt);

    /**
     * 删除生产入库
     * 
     * @param receiptId 生产入库主键
     * @return 结果
     */
    public int deleteErpMaterialReceiptByReceiptId(Long receiptId);

    /**
     * 批量删除生产入库
     * 
     * @param receiptIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteErpMaterialReceiptByReceiptIds(Long[] receiptIds);
}
